//
//  SearchCommodityViewController.m
//  CommodityManager
//
//  Created by lanou3g on 15/5/29.
//  Copyright (c) 2015年 libertyair. All rights reserved.
//

#import "SearchCommodityViewController.h"

@interface SearchCommodityViewController ()

@end

@implementation SearchCommodityViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
   self.navigationItem.title=@"商品查询";
    
    _commodityTextField.delegate=self;
    
}


- (IBAction)rebackLastViewAndsearchCommodity:(id)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
   //搜索功能......
    
}

//回收键盘
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
    return [textField resignFirstResponder];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
